package com.miplus.ccrm.admin.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 系统权限表
 * @TableName sys_permission
 */
@TableName(value ="sys_permission")
@Data
public class SysPermission implements Serializable {
    /**
     * 权限ID
     */
    @TableId(value="permissionid",type = IdType.INPUT)
    @TableField("permissionid")
    private String id;

    /**
     * 权限描述
     */
    @TableField("dsc")
    private String name;

    /**
     * 父ID
     */
    @TableField("parentid")
    private String pid;

    /**
     * 状态
     */
    private String status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}